#pragma once
namespace SALES
{
	const int QUARTERS = 4;

	class Sales
	{
	public:
		Sales(const double ar[], int n);
		Sales();
		void showSales()const;
	private:
		double sales[QUARTERS];
		double average;
		double max;
		double min;
	};

	/*typedef struct Sales
	{
		double sales[QUARTERS];
		double average;
		double max;
		double min;
	}Sales;*/
	/*void setSales(Sales& s);
	void setSales(Sales& s, const double ar[], int n);
	void showSales(const Sales& s);*/
}

